//
//  YHYPictureCollectionViewCell.m
//  Home
//
//  Created by 杨泓晔 on 16/6/4.
//  Copyright © 2016年 LanJue. All rights reserved.
//

#import "YHYPictureCollectionViewCell.h"

@implementation YHYPictureCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        
        
        
        
        
        self.backgroundColor = [UIColor whiteColor];
        _imageView = [[UIImageView alloc] init];
        _imageView.backgroundColor = [UIColor colorWithWhite:1.000 alpha:0.500];
        _imageView.contentMode = UIViewContentModeScaleAspectFill;
        [self addSubview:_imageView];
        self.clipsToBounds = YES;
        _imageView.image = [UIImage imageNamed:@"jia"];
        
        
    }
    
    
    return self;
}

- (void)setImageView:(UIImageView *)imageView{
    _imageView = imageView;
}


@end
